import _fetch from './request.js'

// 写api    登录注册
function loginApi(data) {
    return _fetch({
        url: '/login',
        method: 'post',
        data
    })
}

export { loginApi }